﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.Drawing;

namespace BlueLotus7.Contract
{
    [DataContract]
    public class CategoryLabelRelationship<T>
    {
        protected Guid categoryKey;
        protected Guid entityKey;

        /// <summary>
        /// The category key
        /// </summary>
        public Guid CategoryKey
        {
            get
            {
                return categoryKey;
            }
            set
            {
                categoryKey = value;
            }
        }

        /// <summary>
        /// The entity key.
        /// </summary>
        public Guid EntityKey
        {
            get
            {
                return entityKey;
            }
            set
            {
                entityKey = value;
            }
        }

        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="categoryKey">The category key</param>
        /// <param name="entityKey">The entity key.</param>
        public CategoryLabelRelationship(Guid categoryKey, Guid entityKey)
        {
            this.categoryKey = categoryKey;
            this.entityKey = entityKey;
        }
    }
}
